Release 10.1A: OpenEdge Development:
Web Services
Memory for the SOAP header object model and DOM
Table 11–1 summarizes the available 4GL elements and how they can help you to manage memory for SOAP headers.
Table 11–1: 4GL to manage object memory for SOAP headers 4GL element Applied to object Deletes the 4GL object Deletes all underlying XML DOM objects Setting thelDeleteOnDoneOUTPUTparameter of the request header handler toTRUE(see the "Defining header handlers" section. SOAP header object. Yes YesDELETEOBJECTstatement. SOAP header object. Yes Yes X-document object. Yes Yes SOAP header-entryref object. Yes No X-noderef object. Yes NoDELETE-HEADER-ENTRY()method. SOAP header-entryref object. No Yes1DELETE-NODE()method. X-noderef object. No Yes1
1This includes any child sub-trees of the deleted X-noderef object.Caution: Be sure that you always delete the underlying XML for a SOAP header-entryref object before you delete the SOAP header-entryref object itself. If you lose all reference to the underlying XML before deleting it, its memory becomes lost to your application. If this occurs as part of an iterative process, it represents a memory leak that could cause your application to crash.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |